package com.wow.wa.bill.serivce;

import android.content.Context;

import com.wow.wa.bill.serivce.vo.MainDTO;

public class MainServiceImpl implements MainService {

	private BillService service;

	@Override
	public void insertNotiyRecord(MainDTO dto, Context context) {

		this.service = new BillServiceImpl(context);

		if (!this.service.hasBroadCastRec()) {
			dto.setReg(false);
			this.service.insertBroadCastRec();
		} else {
			dto.setReg(true);
		}

	}

}
